home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6855 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  897 b 

  1. Path: unixg.ubc.ca!news
  2. From: csmecher@unixg.ubc.ca (Alec or Graeme Smecher)
  3. Newsgroups: comp.lang.c++
  4. Subject: Imbedded assembler within classes / variable access
  5. Date: Tue, 20 Feb 1996 02:39:38 GMT
  6. Organization: The University of British Columbia
  7. Message-ID: <4gbc8u$6tk@nntp.ucs.ubc.ca>
  8. Reply-To: csmecher@unixg.ubc.ca
  9. NNTP-Posting-Host: port15.annex2.net.ubc.ca
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12.     I have written a class with an inline assembler function in it. Also
  13. defined in the class is an unsigned integer, and I for some reason
  14. cannot access it within the assembler. Out of the assembler I can use
  15. it as normally. Everything is declared within the class as public.
  16.  
  17.     I am using Borland C++ 4.0, and the code I have written is large
  18. memory model. If I need to provide more information, I would be happy
  19. to do so.
  20.  
  21. What is wrong?
  22. Thanks in advance,
  23. Alec Smecher
  24. csmecher@unixg.ubc.ca
  25.  
  26.